$OpenBSD: patch-core_libs_3rdparty_kmemoryinfo_kmemoryinfo_backend_cpp,v 1.3 2014/11/02 08:01:32 zhuk Exp $
Unbreak compilation.
--- core/libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp.orig	Thu Sep 11 18:08:56 2014
+++ core/libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp	Sun Oct  5 14:49:37 2014
@@ -50,6 +50,7 @@ static int fillMemoryInfo(Digikam::KMemoryInfo::KMemor
     return 1;
 }
 
+#include <QtGlobal>
 
 #ifdef Q_OS_SOLARIS
 #include <unistd.h>
@@ -74,9 +75,9 @@ static int fillMemoryInfo(Digikam::KMemoryInfo::KMemor
 #endif
 #if defined(Q_OS_OPENBSD)
 #include <sys/param.h>
-#include <sys/types.h>
 #include <sys/sysctl.h>
-#include <sys/unistd.h>
+#include <sys/vmmeter.h>
+#include <unistd.h>
 #endif
 #ifdef Q_OS_HPUX
 #include <sys/param.h>
@@ -541,7 +542,11 @@ int get_mem_stats(Digikam::KMemoryInfo::KMemoryInfoDat
 #if defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
 #include <sys/param.h>
 #include <sys/time.h>
+#if defined(Q_OS_OPENBSD)
+#include <uvm/uvm_extern.h>
+#else
 #include <uvm/uvm.h>
+#endif
 #include <unistd.h>
 #endif
 #ifdef Q_OS_HPUX
